package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportUserCertificateDTO;
import com.hunttown.mes.rpc.domain.query.TransportUserCertificateDTOQuery;

/**
 * created by wangjunfu on 2022-12-04 11:33:04
 */
public interface TransportUserCertificateRpcService {

    TransportUserCertificateDTO insert(TransportUserCertificateDTO transportUserCertificateDTO);

    Boolean updateInfoById(TransportUserCertificateDTO transportUserCertificateDTO);

    Boolean updateInfoByQuery(TransportUserCertificateDTOQuery transportUserCertificateDTOQuery);

    TransportUserCertificateDTO selectById(Integer id);

    TransportUserCertificateDTO selectObjByQuery(TransportUserCertificateDTOQuery transportUserCertificateDTOQuery);

    Page<TransportUserCertificateDTO> getListForPage(TransportUserCertificateDTOQuery transportUserCertificateDTOQuery);

    Boolean deleteById(Integer id);
}